


<div class="heading-buttons">
	<h3 class="glyphicons no-js user"><i></i> Membership</h3>
	


</div>
<div class="separator"></div>



<div class="widget widget-2 widget-body-white finances_summary">
		<div class="widget-head"><h4 class="heading glyphicons no-js user"><i></i> <?= $this->admin_membership_model->membership_name($id);?></h4></div>
		<div class="widget-body">
			<div class="row-fluid">
			
			 <form name="paypal" action="<?= base_url();?>secure/membership/insert" method="post">
			<table class="table table-condensed" >
				
				
                                        
                                            <?php
                                            $this->session->flashdata('message'); {
                                                $msg = $this->session->flashdata('message');
                                                echo '<font color="red">' . $msg . '</font>';
                                            }
                                            ?>
                
				<tbody>
					<?php foreach($member as $member):?>
					<tr>
						<td class="left">Show Contact No</td>
						<td>
						
						Yes<input name="rdo_contact" type="radio" value="1" <?php if($member->contact_no=='1') echo 'checked=cheked'?>
                         
                        /> </td><td>No<input name="rdo_contact" type="radio" value="0" <?php if($member->contact_no=='0') echo 'checked=cheked'?>
                        /> 
                       </td>
					</tr>
					
					<tr>
						<td class="left">Show Full Address</td>
						<td>
						
						Yes<input name="rdo_address" type="radio" value="1" <?php if($member->address=='1') echo 'checked=checked'?> 
                        /> </td><td>No<input name="rdo_address" type="radio" value="0" <?php if($member->address=='0') echo 'checked=checked'?> 
                        /> 
						</td>
					</tr>
					
					<tr>
						<td class="left">Show Contact Person</td>
						<td>
						
						Yes<input name="rdo_contact_person" type="radio" value="1" <?php if($member->contact_person=='1') echo 'checked=checked'?>
                        /> </td><td>No<input name="rdo_contact_person" type="radio" value="0" <?php if($member->contact_person=='0') echo 'checked=checked'?>
                        /> 
						</td>
					</tr>
					
					
					<tr>
						<td class="left">Show Email</td>
						<td>
						
						Yes<input name="rdo_email" type="radio" value="1" <?php if($member->email=='1') echo 'checked=checked'?>
                        /> </td><td>No<input name="rdo_email" type="radio" value="0" <?php if($member->email=='0') echo 'checked=checked'?>
                        /> 
						</td>
					</tr>
					
					<tr>
						<td class="left">Show Website</td>
						<td>
						
						Yes<input name="rdo_website" type="radio" value="1" <?php if($member->website=='1') echo 'checked=checked'?>
                        /> </td><td>No<input name="rdo_website" type="radio" value="0" <?php if($member->website=='0') echo 'checked=checked'?>
                        /> 
						</td>
					</tr>
					
					<tr>
						<td class="left">Show Logo</td>
						<td>
						
						Yes<input name="rdo_logo" type="radio" value="1" <?php if($member->logo=='1') echo 'checked=checked'?>
                        /> </td><td>No<input name="rdo_logo" type="radio" value="0" <?php if($member->logo=='0') echo 'checked=checked'?>
                        /> 
						</td>
					</tr>
					
					<tr>
						<td class="left">Show Banner</td>
						<td>
						
						Yes<input name="rdo_banner" type="radio" value="1" <?php if($member->banner=='1') echo 'checked=checked'?>
                        /> </td><td>No<input name="rdo_banner" type="radio" value="0" <?php if($member->banner=='0') echo 'checked=checked'?>
                        /> 
						</td>
					</tr>
					
					<tr>
						<td class="left">Show Photo</td>
						<td>
						
						Yes<input name="rdo_photo" type="radio" value="1" <?php if($member->photo=='1') echo 'checked=checked'?>
                        /> </td><td>No<input name="rdo_photo" type="radio" value="0" <?php if($member->photo=='0') echo 'checked=checked'?>
                        /> 
						</td>
					</tr>
					
					<tr>
						<td class="left">Show Video</td>
						<td>
						
						Yes<input name="rdo_video" type="radio" value="1" <?php if($member->video=='1') echo 'checked=checked'?>
                        /> </td><td>No<input name="rdo_video" type="radio" value="0" <?php if($member->video=='0') echo 'checked=checked'?>
                        /> 
						</td>
					</tr>
					<tr>
						<td class="left">Show Products</td>
						<td>
						
						Yes<input name="rdo_product" type="radio" value="1" <?php if($member->products=='1') echo 'checked=checked'?>
                        /> </td><td>No<input name="rdo_product" type="radio" value="0" <?php if($member->products=='0') echo 'checked=checked'?>
                        /> 
						</td>
					</tr>
					<tr>
						<td class="left">Show Deal</td>
						<td>
						
						Yes<input name="rdo_deal" type="radio" value="1" <?php if($member->deal=='1') echo 'checked=checked'?>
                        /> </td><td>No<input name="rdo_deal" type="radio" value="0" <?php if($member->deal=='0') echo 'checked=checked'?>
                        /> 
						</td>
					</tr>
					
					<tr>
						<td class="left">Show Google Map</td>
						<td>
						
						Yes<input name="rdo_google_map" type="radio" value="1" <?php if($member->google_map=='1') echo 'checked=checked'?>
                        /> </td><td>No<input name="rdo_google_map" type="radio" value="0" <?php if($member->google_map=='0') echo 'checked=checked'?>
                        /> 
						</td>
					</tr>
					
					<tr>
						<td class="left">Send Email Alert</td>
						<td>
						
						Yes<input name="rdo_email_alert" type="radio" value="1" <?php if($member->email_alert=='1') echo 'checked=checked'?>
                        /> </td><td>No<input name="rdo_email_alert" type="radio" value="0" <?php if($member->email_alert=='0') echo 'checked=checked'?>
                        /> 
						</td>
					</tr>
					
					<tr>
						<td class="left">Satisfaction Tag</td>
						<td>
						
						Yes<input name="rdo_satisfaction_tag" type="radio" value="1" <?php if($member->satisfaction_tag=='1') echo 'checked=checked'?>
                        /> </td><td>No<input name="rdo_satisfaction_tag" type="radio" value="0" <?php if($member->satisfaction_tag=='0') echo 'checked=checked'?>
                        /> 
						</td>
					</tr>
					
					<tr>
						<td class="left">Keyword Limit</td>
						<td>
						
						<input class="span12" name="keyword_limit" type="text" value="<?= $member->keyword_limit;?>" 
                        /> 
						</td>
					</tr>
					
					<tr>
						<td class="left">Photo Limit</td>
						<td>
						
						<input class="span12" name="photo_limit" type="text" value="<?= $member->photo_limit;?>" 
                        /> 
						</td>
					</tr>
					<tr>
						<td class="left">Video Limit</td>
						<td>
						
						<input class="span12" name="video_limit" type="text" value="<?= $member->video_limit;?>" 
                        /> 
						</td>
					</tr>
					<tr>
						<td class="left">Price </td>
						<td>
						
						<input class="span12" name="price" type="text" value="<?= $member->price;?>" 
                        /> 
						</td>
					</tr>
					
					
					<tr>
						<td></td>
						<td></td>
						<td class="pull-right">
						<input type="hidden" name="mem_id" value="<?= $id ;?>">
						<input type="submit" class="btn btn-info"  name="membership" value="Submit" <?php if($this->config->item('mode')=='DEMO'){?>onclick="alert ('Sorry! Demo mode '); return false;" <?} else?>onclick="return confirm('Are you sure ?');"  ></td>
					</tr>
				</tbody>
				<?php endforeach;?>
			</table>
			      </form>	
			      	</div>
		</div>
	</div>
    